package com.jin.spirng_boot_learn.ioc.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Ship {

    @Autowired
    private Car car;
}
